#include <stdio.h>
#include <stdlib.h>

void
usage(char *program_name, int code)
{
    printf("usage: %s: this is a test program! %s, %d, error code :%d\n",
                program_name, __FUNCTION__, __LINE__, code);
    exit(code);
}


int main(int argc, char **argv)
{
    usage(argv[0], 100);
    system("pause");
    getchar();
    return 0;
}

